<!DOCTYPE html PUBLIC "">
<html xmlns="">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8">
    <title>促销活动统计</title>

    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

 <!--    <script>
      (function () {
        if (window !== window.top) {
          window.top.location.href = 'http://www.818tu.com';
        }
      })();
    </script> -->

    <!-- bootstrap & fontawesome -->








    <!-- page specific plugin styles -->
    <script src="__PUBLIC__/admin/js/jquery.min.js"></script>
    <script src="__PUBLIC__/admin/js/lodash.min.js"></script>
    <script src="__PUBLIC__/admin/js/moment.min.js"></script>
    <script src="__PUBLIC__/admin/js/zh-cn.js"></script>
    <script src="__PUBLIC__/admin/js/numeral.min.js"></script>
    <script src="__PUBLIC__/admin/js/toastr.min.js"></script>
    <script src="__PUBLIC__/admin/js/cookies.js"></script>
    <script src="__PUBLIC__/admin/js/knockout-min.js"></script>
    <script src="__PUBLIC__/admin/js/knockout.mapping.min.js"></script>
    <script src="__PUBLIC__/admin/js/bootstrap-datetimepicker.min.js"></script>
    <script src="__PUBLIC__/admin/js/jquery.validate.min.js"></script>
    <script src="__PUBLIC__/admin/js/jquery.validate.unobtrusive.min.js"></script>
    <script src="__PUBLIC__/admin/js/clipboard.min.js"></script>
    <script src="__PUBLIC__/admin/js/select2.min.js"></script>
    <script src="__PUBLIC__/admin/js/zh-cn_001.js"></script>
    <script src="__PUBLIC__/admin/js/admin.js"></script>
    <script src="__PUBLIC__/admin/js/K.js"></script>
    <script>
      moment.locale('zh-cn');

      toastr.options.positionClass = 'toast-bottom-right';

      $.fn.select2.defaults.set('language', 'zh-CN');
    </script>

    <!-- text fonts -->


    <!-- ace styles -->


    <!--[if lte IE 9]>
        <link rel="stylesheet" href="https://novel.818tu.com/static/assets/css/ace-part2.min.css" />
    <![endif]-->




    <!--[if lte IE 9]>
        <link rel="stylesheet" href="https://novel.818tu.com/static/css/ace-ie.min.css" />
    <![endif]-->



    <!-- inline styles related to this page -->

    <!-- ace settings handler -->
    <script src="__PUBLIC__/admin/js/ace-extra.min.js"></script>

    <!-- <script>
      var __BASEURL = "https://novel.818tu.com/";
    </script> -->
<link href="__PUBLIC__/admin/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/glyphicons-halflings-regular.css">
<link media="all" href="__PUBLIC__/admin/css/index04.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/cc.css">
</head>
<body class="no-skin modal-open" style="padding-right: 17px;">

    <!-- #section:basics/navbar.layout -->
    <include file="./Public/gong/title.html" />

    <div class="main-container" id="main-container">
      <script type="text/javascript">
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
      </script>

      <div id="sidebar" class="sidebar responsive">
          <script type="text/javascript">
            try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
          </script>

<include file="./Public/gong/list.html" />
          <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
            <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
          </div>

          <script type="text/javascript">
            try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
          </script>
      </div>

      <!-- /section:basics/sidebar -->
      <div class="main-content">

                    <!-- <div id="invalid-mp-settings-hint" style="display: none; border-top: 0px none; border-left: 0px none; border-right: 0px none; margin: 0px;" class="alert alert-warning">
    <i class="fa fa-warning"></i> 您的公众号配置不完整，推广前请务必配置好公众号信息。<a href="https://novel.818tu.com/backend/settings/mp">立即配置</a>
</div> -->


        <div class="breadcrumbs" id="breadcrumbs">
          <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
          </script>

          <ul class="breadcrumb">
            <li>
              <i class="ace-icon fa fa-home home-icon"></i>
              <a href="__APP__/Admin/Index/index.html">Home</a>
            </li>
            <li class="active">促销活动统计</li>
          </ul><!-- /.breadcrumb -->

          <!-- /section:basics/content.searchbox -->
        </div>

        <!-- /section:basics/content.breadcrumbs -->
        <div class="page-content">
          <div class="page-content-area">
            <div class="row">
              <div class="col-xs-12">
                <!-- PAGE CONTENT BEGINS -->

                <!--/span-->
                <!-- left menu ends -->



<table class="table table-bordered table-stripped" id="dataTables-example">
    <thead>
    <tr>
        <th  class="text-center">活动标题</th>
        <th  class="text-center">发起时间</th>
        <th  class="text-center">结束时间</th>
        <th  class="text-center">支付金额</th>
        <th  class="text-center">支付订单数</th>

    </tr>
    </thead>
    <tbody>
        <volist name="paylinks" id="vk">
            <tr class="data-item" data-referral-link-id="196087">
                <td class="text-center">
                    {$vk.hname}
                </td>
                <td class="text-center">
                    {$vk.time1|date="Y-m-d",###}
                </td>
                <td class="text-center">
                    {$vk.time2|date="Y-m-d",###}
                </td>
                <td class="text-center">
                    {$vk.payme}
                </td>
                <td class="text-center">
                    {$vk.paynum}
                </td>

            </tr>
        </volist>
    </tbody>
</table>

<div id="big" style="display:none;">
    <div class="big-div">
        <div class="bb">
            <div class="bb-div">
                <button type="button" class="close" style="margin-top:10px;margin-right:20px;"><span style="font-size:28px;">x</span></button>

                <h4 >推广链接生成成功</h4>
            </div>
            <div class="modal-body">
                <div>
                    请复制下方推广链接，后续您可以在此按钮查看推广链接:
                </div>
                <div style="margin:10px 0;" id="fe_text">
                    http://
                </div>
                <div style="margin:10px 0;color:red;font-weight:bold;">
                    <i class="fa fa-info-circle"></i>
                     请务必使用此链接作为推广链接
                </div>
            </div>
            <div class="modal-footer" id="clip_container">
                <button type="button" class="btn btn-primary"  id="d_clip_button" >复制链接</button>
            </div>
        </div>
    </div>
</div>
<!-- <script type="text/javascript">

    $('.ip').click(function(){
        $('#big').css('display','block');
    });
    $('.close').click(function(){
        $('#big').css('display','none');
    });

</script> -->
<script type="text/javascript">
$('.creatlink').click(function(event) {
    var id = $(this).data('id');
    $.get('__URL__/creatpaylinks',{'id':id},function(data) {
        if(data == 'false')
        {
            alert('生成失败，请重试');
        }else{
            //alert(data);
            $('#big').css('display','block');
            $('#fe_text').html(data);
        }
        //alert(1);
    });
    //alert(id);
});
$('.close').click(function(){
        $('#big').css('display','none');
    });
</script>
<!-- js复制内容 -->

<script type="text/javascript">
$("#d_clip_button").click(function(){
    var $div = $('#fe_text').html();
    var str = $div;
    K.Tool.copy(str.replace(/&amp;/g,"&"))
});

</script>


<!-- <div  id="edit-keyword" style="display:none;position: fixed;top: 0px;right: 0px;bottom: 0px;left: 0px;z-index: 1050;display: none;overflow: hidden;outline: 0px none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-bind="click: close" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4 class="modal-title">关键字设置</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" novalidate="novalidate" method="POST" action="__URL__/add_reply_keywords">
                    <div class="form-group">
                        <label class="control-label col-sm-3">关键字</label>
                        <div class="col-sm-7">
                            <input type="text" class="form-control" name="keyword" data-bind="value: keyword" maxlength="20" data-val="true" data-val-required="请输入关键字">
                            <div class="help-block col-sm-10 no-padding-left" data-valmsg-for="keyword" data-valmsg-replace="true"></div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-sm-3">小说</label>
                        <div class="col-sm-7">
                            <select name="bid" style="width:100%"  data-val="true" data-val-required="请选择小说"  aria-hidden="true" id="s1" autocomplete="off">
                                <option value="">--请选择--</option>
                                <volist name="book" id="vb">
                                    <option value="{$vb.id}">{$vb.title}</option>
                                </volist>
                            </select>

                            <div class="help-block col-sm-10 no-padding-left" data-valmsg-for="novel_id" data-valmsg-replace="true"></div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-sm-3">章节</label>
                        <div class="col-sm-7">
                            <select name="biid" style="width:100%"  data-val="true" data-val-required="请选择章节"  aria-hidden="true" id="s2">

                            </select>

                            <div class="help-block col-sm-10 no-padding-left" data-valmsg-for="novel_id" data-valmsg-replace="true"></div>
                        </div>
                    </div>


            </div>
            <div class="modal-footer">
                <button type="submit" class="btn btn-primary">提交</button>
            </div>
            </form>
        </div>
    </div>
</div> -->


                                <!-- PAGE CONTENT ENDS -->
                            </div><!-- /.col -->
                        </div><!-- /.row -->
                    </div><!-- /.page-content-area -->
                </div><!-- /.page-content -->
            </div><!-- /.main-content -->

        </div><!-- /.main-container -->

        <!-- basic scripts -->

        <!-- <script type="text/javascript">
            if('ontouchstart' in document.documentElement) document.write("<script src='https://novel.818tu.com/static/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
        </script> -->
        <script src="__PUBLIC__/admin/js/bootstrap.min.js"></script>
        <script src="__PUBLIC__/admin/js/jquery.webui-popover.min.js"></script>
        <script src="__PUBLIC__/admin/js/jquery.ui.widget.min.js"></script>
        <script src="__PUBLIC__/admin/js/jquery.fileupload.min.js"></script>

        <!-- page specific plugin scripts -->

        <!-- ace scripts -->
        <script src="__PUBLIC__/admin/js/ace-elements.min.js"></script>
        <script src="__PUBLIC__/admin/js/ace.min.js"></script>

        <!-- inline scripts related to this page -->

        <!-- the following scripts are used in demo only for onpage help and you don't need them -->


        <!-- <script type="text/javascript"> ace.vars['base'] = 'https://novel.818tu.com/static'; </script> -->
        <script src="__PUBLIC__/admin/js/elements.onpage-help.js"></script>
        <script src="__PUBLIC__/admin/js/ace.onpage-help.js"></script>
        <script src="__PUBLIC__/admin/dataTables/jquery.dataTables.js"></script>
        <script src="__PUBLIC__/admin/dataTables/dataTables.bootstrap.js"></script>
            <script>
                $(document).ready(function () {
                    $('#dataTables-example').dataTable();
                });
        </script>


<div class="modal-backdrop fade in" style="display:none;background:rgba(0,0,0)"></div>
</body>
</html>
